package com.producer.controller;

import com.alibaba.fastjson.JSONObject;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.Optional;

@RestController
public class testController {
    @PostMapping("listClusters")

    public Optional listClusters(@RequestBody JSONObject parameter){
        System.out.println("》》》》》》》》》》》》》》"+parameter);

        return  Optional.of(parameter);
    }
}
